import request from '@/utils/request.js'
const api_name = '/portal/pay'

export function gotoPay (orderId) {
  return request({
    url: `${api_name}/`,
    method: 'post',
    data: orderId
  })
}

export function queryPay (orderId) {
  return request({
    url: `${api_name}/query/${orderId}`,
    method: 'get'
  })
}
